package com.xgc.book.bookserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xgc.book.bookserver.bean.CodeBean;
import com.xgc.book.bookserver.util.ResultJson;

import java.awt.image.BufferedImage;

/**
 * <p>
 * 验证码表 服务类
 * </p>
 *
 * @author wrz
 * @since 2023-11-20
 */
public interface CodeService extends IService<CodeBean> {
    BufferedImage createKaptcha(String uuid);

    boolean checkKaptcha(String uuid, String code);

    ResultJson sendMsm(String phone);
}
